package net.wofly.sale.report.domain;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * @author siqingwei
 */
@Data
@Entity
public class StockDTO {
	@Id
	private String uuid;
	/**
	 * 库存所有者ID
	 */
	private String stockUserID;
	/**
	 * 库存所有者名称
	 */
	private String stockUserName;
	/**
	 * 商品终端ID
	 */
	private String commodityTerminalID;
	/**
	 * 商品终端名称
	 */
	private String commodityTerminalName;
	/**
	 * 库存里的商品数量
	 */
	private Long stock;

	public StockDTO() {
	}

	public StockDTO(String stockUserID, String stockUserName, String commodityTerminalID, String commodityTerminalName, Long stock) {
		this.stockUserID = stockUserID;
		this.stockUserName = stockUserName;
		this.commodityTerminalID = commodityTerminalID;
		this.commodityTerminalName = commodityTerminalName;
		this.stock = stock;
	}
}